/*----------------------------------------------------------------------------------------------
* This source file is part of Kinect-Fighter (A Fighting Game controlled 
*	by Kinect and Keyboard.)
*
* Copyright (c) 2012-2012 Hu Guozhu
*
* Usage of this program is free for non-commercial use and licensed under the
* the terms of the MIT License.
*
*-------------------------------------------------------------------------------------------------*/

#ifndef		_KF_KFKinectManager_H_
#define		_KF_KFKinectManager_H_

#include "NuiApi.h"
#include "kferror.h"

namespace KinectFighter
{

	class KFKinectManager
	{
		DECLARE_SINGLETON(KFKinectManager)
	public:
		KFKinectManager();
		KFRESULT Init();

	
	private:
		// Current Kinect
		INuiSensor		*mNuiSensor;
		BSTR			mInstanceId;

		HANDLE			mNextDepthFrameEvent;
		HANDLE			mNextColorFrameEvent;
		HANDLE			mNextSkeletonEvent;


	};


}
#endif

